package org.sy.lab.网上多线程例子.柜台取钱;

public class MainClass {

	public static void main(String[] args) {
		
		Bank bank = new Bank();
		
		PersonA pA = new PersonA(bank);
		PersonB pB = new PersonB(bank);
		PersonA pA2 = new PersonA(bank);
		PersonB pB2 = new PersonB(bank);
		
		pA.start();
		pB.start();
		pA2.start();
		pB2.start();
	}
}
